package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the SYSLOG database table.
 * 
 */
@Entity
@Table(name="SYSLOG")
public class Syslog implements Serializable {
	private static final long serialVersionUID = 1L;
	private SyslogPK id;
	private BigDecimal expuid;
	private String jobnumber;
	private String logchannel;
	private String messagecolor;
	private BigDecimal messagelevel;
	private String messagetext;

    public Syslog() {
    }


	@EmbeddedId
	public SyslogPK getId() {
		return this.id;
	}

	public void setId(SyslogPK id) {
		this.id = id;
	}
	

	@Column(nullable=false)
	public BigDecimal getExpuid() {
		return this.expuid;
	}

	public void setExpuid(BigDecimal expuid) {
		this.expuid = expuid;
	}


	@Column(nullable=false, length=80)
	public String getJobnumber() {
		return this.jobnumber;
	}

	public void setJobnumber(String jobnumber) {
		this.jobnumber = jobnumber;
	}


	@Column(length=80)
	public String getLogchannel() {
		return this.logchannel;
	}

	public void setLogchannel(String logchannel) {
		this.logchannel = logchannel;
	}


	@Column(length=1)
	public String getMessagecolor() {
		return this.messagecolor;
	}

	public void setMessagecolor(String messagecolor) {
		this.messagecolor = messagecolor;
	}


	@Column(nullable=false)
	public BigDecimal getMessagelevel() {
		return this.messagelevel;
	}

	public void setMessagelevel(BigDecimal messagelevel) {
		this.messagelevel = messagelevel;
	}


	@Column(nullable=false, length=4000)
	public String getMessagetext() {
		return this.messagetext;
	}

	public void setMessagetext(String messagetext) {
		this.messagetext = messagetext;
	}

}